from miyinff import science_operations
#from miyinff.file_io.output_control import global_output

def operation(arglist):
    so = science_operations(arglist.config)
    so.initialize()
    so.operation()

def main():
    import argparse

    parser = argparse.ArgumentParser(description="Operation")
    parser.add_argument("-y", "--yml", default="config.yml", dest="config")
    arglist = parser.parse_args()

    operation(arglist)


if __name__ == "__main__":
    main()
